﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ThanhTu.GNC.Media.KQXS.DataAccess.BL;

namespace GNCMedia.KQXS.UserControls
{
    public partial class TimeAwardsUserControl : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                TimeofAwardsBL vTimeofAwardsBL = new TimeofAwardsBL();
                int row = 0;
                Repeater1.DataSource = vTimeofAwardsBL.SelectAll_TimeAward_user(1, 7, ref row);
                Repeater1.DataBind();
            }
            catch (Exception ex)
            {
                Response.Write("Repeater1: " + ex.Message);
            }
        }
    }
}